<template>
  <div>
    <van-nav-bar title="我的订单" left-text="" left-arrow @click-left="onClickLeft" />
    <van-tabs>
      <van-tab title="全部">
        <van-empty description="您还没有订单哦~" />
        <button class="btn" @click="toshop">去药品商城</button>
      </van-tab>
      <van-tab title="待付款">内容 2</van-tab>
      <van-tab title="代发货">内容 3</van-tab>
      <van-tab title="待收货">内容 4</van-tab>
      <van-tab title="代评价">内容 3</van-tab>
      <van-tab title="退款/售">内容 4</van-tab>
    </van-tabs>
  </div>
</template>
<script setup lang="ts">
import { useRouter } from 'vue-router';
const router = useRouter()
const toshop=()=>{
  router.push('/shop')
}
const onClickLeft = () => history.back();
</script>
<style scoped>
.btn{
  width: 80%;
  height: 100px;
  background-color: #0070FF;
  border: none;
  color: #fff;
  border-radius: 20px;
  margin-left: 10%;
  font-size: 34px;
}
</style>
